﻿using UnityEngine;
using System.Collections;
using ZZQFrameWork;

/// <summary>
/// 技能面板
/// </summary>
public class SkillPanel:BaseUI
{
    /// <summary>
    /// 技能图集
    /// </summary>
    private UIAtlas skillAtlas;

    public UIAtlas SkillAtlas
    {
        get
        {
            if (skillAtlas == null)
            {
                skillAtlas = ResManager.Instance.Load("SkillAtlas")as UIAtlas;
            }
            return skillAtlas;
        }
    }


    public override Enum_UIType GetUIType()
    {
        return Enum_UIType.SkillPanel;
    }

    //public void Open()
    //{
    //    gameObject.SetActive(true);
    //}

    //public void Close()
    //{
    //    gameObject.SetActive(false);
    //}
}
